<script setup>
	import { onLaunch} from '@dcloudio/uni-app'
	onLaunch(()=>{
		const buttonPosition = uni.getStorageSync('buttonPosition')
		if(!buttonPosition){
			const res = uni.getMenuButtonBoundingClientRect()
			console.log(res)
			uni.setStorageSync('buttonPosition',res)
		}

	})
</script>

<style>
	/*每个页面公共css */
		view,text{
			display: block;
			font-size: 33rpx;
		}
		image{
			display: block;
		}
		button::after{
			border: none;
		}
		button{
			padding: 0;
			margin: 0;
			line-height: inherit;
			background-color: #ffffff;
		}
		.text-show{
			display: -webkit-box;
			text-overflow: ellipsis;
			overflow: hidden;
			-webkit-line-clamp: 1;
			-webkit-box-orient: vertical;
		}
</style>
